package com.human.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 员工工资
 * </p>
 *
 * @author jzq
 * @since 2023-03-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Empsalary implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 员工编号
     */
    private Integer eid;

    /**
     * 薪资账套编号
     */
    private Integer sid;

    /**
     * 员工工资
     */
    private Integer sal;

    @TableField(exist = false)
    private Emp emp;

    @TableField(exist = false)
    private Salary salary;


}
